package jodis.conn.impl;

import jodis.conn.inter.IReply;

import java.nio.charset.StandardCharsets;

public class OkReply implements IReply {

    private static final byte[] OK_BYTES = "+OK\r\n".getBytes(StandardCharsets.UTF_8);

    public static OkReply makeOKReply() {
        return new OkReply();
    }

    @Override
    public byte[] toBytes() {
        return OK_BYTES;
    }
}
